Permalink
Browse files

Add missing `return`.

Thanks to SLaks for the catch.
  • Loading branch information...
1 parent 90a3af3 commit bc90eb780ee5a9c9cbf071523cac83b0aff99fc9 Dan Bornstein committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ursaNative.cc
View
@@ -306,7 +306,7 @@ static bool getArgInt(const Arguments& args, int index, int *resultPtr) {
*/
static RSA *generateKey(int num, unsigned long e) {
#if OPENSSL_VERSION_NUMBER < 0x009080001
- RSA_generate_key(num, e, NULL, NULL);
+ return RSA_generate_key(num, e, NULL, NULL);
#else
BIGNUM *eBig = BN_new();

0 comments on commit bc90eb7

Please sign in to comment.