pkcs11-tool.c: fix compiler warning

pkcs11-tool.c:2992:1: warning: control reaches end of non-void function
      [-Wreturn-type]
}
^
This commit is contained in:
Ludovic Rousseau 2016-10-14 14:34:41 +02:00 committed by Ludovic Rousseau
parent b1aa79058a
commit 8b761b830b
1 changed files with 1 additions and 0 deletions

View File

@ -2988,6 +2988,7 @@ derive_ec_key(CK_SESSION_HANDLE session, CK_OBJECT_HANDLE key, CK_MECHANISM_TYPE
return newkey;
#else
util_fatal("Derive EC key not supported");
return 0;
#endif /* ENABLE_OPENSSL && !OPENSSL_NO_EC && !OPENSSL_NO_ECDSA */
}