diff options
author | miod <> | 2014-07-12 16:03:37 +0000 |
---|---|---|
committer | miod <> | 2014-07-12 16:03:37 +0000 |
commit | 1ae7466a2fdd60df6484d8d132d70a044fd58c92 (patch) | |
tree | b756e0522f06b8c8ef257885370d0ada8f818fa8 /src/lib/libcrypto/rsa/rsa.h | |
parent | 3c4c98fca81949fb441815860d40ad66626df65d (diff) | |
download | openbsd-1ae7466a2fdd60df6484d8d132d70a044fd58c92.tar.gz openbsd-1ae7466a2fdd60df6484d8d132d70a044fd58c92.tar.bz2 openbsd-1ae7466a2fdd60df6484d8d132d70a044fd58c92.zip |
if (x) FOO_free(x) -> FOO_free(x).
Improves readability, keeps the code smaller so that it is warmer in your
cache.
review & ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index d15d1f1c97..8139db0b7d 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa.h,v 1.25 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.26 2014/07/12 16:03:37 miod Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -287,7 +287,7 @@ int RSA_public_decrypt(int flen, const unsigned char *from, | |||
287 | unsigned char *to, RSA *rsa, int padding); | 287 | unsigned char *to, RSA *rsa, int padding); |
288 | int RSA_private_decrypt(int flen, const unsigned char *from, | 288 | int RSA_private_decrypt(int flen, const unsigned char *from, |
289 | unsigned char *to, RSA *rsa, int padding); | 289 | unsigned char *to, RSA *rsa, int padding); |
290 | void RSA_free (RSA *r); | 290 | void RSA_free(RSA *r); |
291 | /* "up" the RSA object's reference count */ | 291 | /* "up" the RSA object's reference count */ |
292 | int RSA_up_ref(RSA *r); | 292 | int RSA_up_ref(RSA *r); |
293 | 293 | ||