projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update source files for deprecation at 3.0
[openssl.git]
/
test
/
rsa_test.c
diff --git
a/test/rsa_test.c
b/test/rsa_test.c
index b351cebaae34de5156979841db2b45d40d508173..084f533ac1f1d696b9ef6322b8982b78497dbd32 100644
(file)
--- a/
test/rsa_test.c
+++ b/
test/rsa_test.c
@@
-42,6
+42,8
@@
int setup_tests(void)
BN_bin2bn(dmp1, sizeof(dmp1)-1, NULL), \
BN_bin2bn(dmq1, sizeof(dmq1)-1, NULL), \
BN_bin2bn(iqmp, sizeof(iqmp)-1, NULL)); \
+ if (c == NULL) \
+ return 0; \
memcpy(c, ctext_ex, sizeof(ctext_ex) - 1); \
return sizeof(ctext_ex) - 1;