]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/fido/fidocore.c
Code improved for less memory
[proxmark3-svn] / client / fido / fidocore.c
index 13768b756dbb5dbbe28e8abf75c5eae197c9a4c5..6e021ea60c9fb8bebc17a7316c4f229e0081d782 100644 (file)
@@ -267,9 +267,9 @@ int FIDOCheckDERAndGetKey(uint8_t *der, size_t derLen, bool verbose, uint8_t *pu
        uint32_t verifyflags = 0;
        res = mbedtls_x509_crt_verify(&cert, &cacert, NULL, NULL, &verifyflags, NULL, NULL);
        if (res) {
        uint32_t verifyflags = 0;
        res = mbedtls_x509_crt_verify(&cert, &cacert, NULL, NULL, &verifyflags, NULL, NULL);
        if (res) {
-               PrintAndLog("ERROR: DER verify returned 0x%x - %s", (res<0)?-res:res, ecdsa_get_error(res));
+               PrintAndLog("ERROR: DER verify returned 0x%x - %s\n", (res<0)?-res:res, ecdsa_get_error(res));
        } else {
        } else {
-               PrintAndLog("Certificate OK.");
+               PrintAndLog("Certificate OK.\n");
        }
        
        if (verbose) {
        }
        
        if (verbose) {
Impressum, Datenschutz