The unified diff between revisions [9af6e795..] and [594720f0..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'crypto/ocaml-openssl.c'
#
#
# patch "crypto/ocaml-openssl.c"
# from [ae8e0d986073fd8562d321f2f4e8d80fcafff6ed]
# to [88ee1f154817722c2325617e7c9d0263b77edbfb]
#
============================================================
--- crypto/ocaml-openssl.c ae8e0d986073fd8562d321f2f4e8d80fcafff6ed
+++ crypto/ocaml-openssl.c 88ee1f154817722c2325617e7c9d0263b77edbfb
@@ -99,7 +99,7 @@ ml_d2i_RSA_PUBKEY (value s)
CAMLprim value
ml_d2i_RSA_PUBKEY (value s)
{
- unsigned char *p;
+ const unsigned char *p;
RSA *r_key;
p = UString_val (s);
@@ -113,7 +113,7 @@ ml_d2i_PKCS8_RSA_PrivateKey (value s)
CAMLprim value
ml_d2i_PKCS8_RSA_PrivateKey (value s)
{
- unsigned char *p;
+ const unsigned char *p;
PKCS8_PRIV_KEY_INFO *p_key;
EVP_PKEY *e_key;
RSA *r_key;