summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa.h
diff options
context:
space:
mode:
authormiod <>2015-02-14 15:10:39 +0000
committermiod <>2015-02-14 15:10:39 +0000
commit4ab76f0bb67518cfef60408ecb681f93c3fe9a67 (patch)
treeb9a19a97c2ebad3afbecf7d9352250124866c745 /src/lib/libcrypto/rsa/rsa.h
parent7341d58e175443f35d3593a484e60ce81d090a15 (diff)
downloadopenbsd-4ab76f0bb67518cfef60408ecb681f93c3fe9a67.tar.gz
openbsd-4ab76f0bb67518cfef60408ecb681f93c3fe9a67.tar.bz2
openbsd-4ab76f0bb67518cfef60408ecb681f93c3fe9a67.zip
Check for allocation error in RSA_eay_mod_exp(). Coverity CID 25217.
ok jsing@
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/rsa/rsa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 8139db0b7d..4045a6cbf3 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.26 2014/07/12 16:03:37 miod Exp $ */ 1/* $OpenBSD: rsa.h,v 1.27 2015/02/14 15:10:39 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 *
@@ -444,6 +444,7 @@ void ERR_load_RSA_strings(void);
444#define RSA_F_PKEY_RSA_VERIFYRECOVER 141 444#define RSA_F_PKEY_RSA_VERIFYRECOVER 141
445#define RSA_F_RSA_BUILTIN_KEYGEN 129 445#define RSA_F_RSA_BUILTIN_KEYGEN 129
446#define RSA_F_RSA_CHECK_KEY 123 446#define RSA_F_RSA_CHECK_KEY 123
447#define RSA_F_RSA_EAY_MOD_EXP 157
447#define RSA_F_RSA_EAY_PRIVATE_DECRYPT 101 448#define RSA_F_RSA_EAY_PRIVATE_DECRYPT 101
448#define RSA_F_RSA_EAY_PRIVATE_ENCRYPT 102 449#define RSA_F_RSA_EAY_PRIVATE_ENCRYPT 102
449#define RSA_F_RSA_EAY_PUBLIC_DECRYPT 103 450#define RSA_F_RSA_EAY_PUBLIC_DECRYPT 103