summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_eay.c
diff options
context:
space:
mode:
authordoug <>2015-06-13 08:38:10 +0000
committerdoug <>2015-06-13 08:38:10 +0000
commita3f6270cf947329be3b9091ddfdbab704042addd (patch)
treed662b590881eb66fb307e6d2ac19b7a15cc092ba /src/lib/libcrypto/rsa/rsa_eay.c
parentda86a9658c227bfdb16fc46762295a922d8ffaff (diff)
downloadopenbsd-a3f6270cf947329be3b9091ddfdbab704042addd.tar.gz
openbsd-a3f6270cf947329be3b9091ddfdbab704042addd.tar.bz2
openbsd-a3f6270cf947329be3b9091ddfdbab704042addd.zip
Fix bad indenting in LibreSSL.
jsg@ noticed that some of the lines in libssl and libcrypto are not indented properly. At a quick glance, it looks like it has a different control flow than it really does. I checked the history in our tree and in OpenSSL to make sure these were simple mistakes. ok miod@ jsing@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_eay.c')
-rw-r--r--src/lib/libcrypto/rsa/rsa_eay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_eay.c b/src/lib/libcrypto/rsa/rsa_eay.c
index 74d40611ee..940964cac3 100644
--- a/src/lib/libcrypto/rsa/rsa_eay.c
+++ b/src/lib/libcrypto/rsa/rsa_eay.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_eay.c,v 1.38 2015/02/14 15:10:39 miod Exp $ */ 1/* $OpenBSD: rsa_eay.c,v 1.39 2015/06/13 08:38:10 doug 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 *
@@ -393,7 +393,7 @@ RSA_eay_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
393 if (BN_bin2bn(buf, num, f) == NULL) 393 if (BN_bin2bn(buf, num, f) == NULL)
394 goto err; 394 goto err;
395 395
396 if (BN_ucmp(f, rsa->n) >= 0) { 396 if (BN_ucmp(f, rsa->n) >= 0) {
397 /* usually the padding functions would catch this */ 397 /* usually the padding functions would catch this */
398 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, 398 RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT,
399 RSA_R_DATA_TOO_LARGE_FOR_MODULUS); 399 RSA_R_DATA_TOO_LARGE_FOR_MODULUS);