projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NO_DSA, NO_RSA patches.
[openssl.git]
/
crypto
/
asn1
/
i2d_pu.c
diff --git
a/crypto/asn1/i2d_pu.c
b/crypto/asn1/i2d_pu.c
index 360a5253da1107699ca4b32309845d80eee17c22..013d19bbf418b13205d5b968796dce056136cd28 100644
(file)
--- a/
crypto/asn1/i2d_pu.c
+++ b/
crypto/asn1/i2d_pu.c
@@
-61,8
+61,12
@@
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
+#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
+#endif
int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
{