projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify DSA public key handling.
[oweals/openssl.git]
/
crypto
/
pem
/
pem_all.c
diff --git
a/crypto/pem/pem_all.c
b/crypto/pem/pem_all.c
index 1a867a8867c881ecbe95b4d18deb4ab8afe5e72c..8ef8f18c42caf9f3b6eb3e4618e2351353a1b659 100644
(file)
--- a/
crypto/pem/pem_all.c
+++ b/
crypto/pem/pem_all.c
@@
-190,6
+190,7
@@
RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u)
IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA,
RSAPrivateKey)
+
IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC,
RSAPublicKey) IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA,
PEM_STRING_PUBLIC,