df30244770
- BN_rand_range functions are now constified
15 lines
932 B
Diff
15 lines
932 B
Diff
diff -up ruby-1.8.6-p287/ext/openssl/openssl_missing.h.rand-range ruby-1.8.6-p287/ext/openssl/openssl_missing.h
|
|
--- ruby-1.8.6-p287/ext/openssl/openssl_missing.h.rand-range 2008-08-04 06:43:34.000000000 +0200
|
|
+++ ruby-1.8.6-p287/ext/openssl/openssl_missing.h 2009-01-26 15:11:23.000000000 +0100
|
|
@@ -120,8 +120,8 @@ int X509_CRL_add0_revoked(X509_CRL *crl,
|
|
int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
|
|
int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
|
|
int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
|
|
-int BN_rand_range(BIGNUM *r, BIGNUM *range);
|
|
-int BN_pseudo_rand_range(BIGNUM *r, BIGNUM *range);
|
|
+int BN_rand_range(BIGNUM *r, const BIGNUM *range);
|
|
+int BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range);
|
|
char *CONF_get1_default_config_file(void);
|
|
int PEM_def_callback(char *buf, int num, int w, void *key);
|
|
|