projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
As ftruncate is not availabe on all platforms, switch back to
[oweals/openssl.git]
/
crypto
/
asn1
/
i2d_r_pr.c
diff --git
a/crypto/asn1/i2d_r_pr.c
b/crypto/asn1/i2d_r_pr.c
index 617c10af464988e4e2ca0f972efbfd1b53e087df..cf5fd9e94e6dd1a4df0713a680832625a302a0bd 100644
(file)
--- a/
crypto/asn1/i2d_r_pr.c
+++ b/
crypto/asn1/i2d_r_pr.c
@@
-56,6
+56,7
@@
* [including the GNU Public Licence.]
*/
+#ifndef NO_RSA
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
@@
-122,4
+123,11
@@
int i2d_RSAPrivateKey(RSA *a, unsigned char **pp)
*pp=p;
return(t);
}
+#else /* !NO_RSA */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
+#endif