freebsd-ports/lang/ruby18/files/extra-patch-ext_openssl_openssl_missing.h
Stanislav Sedov ac4392578e - Fix build with OPENSSL_PORT.
PR:		ports/130399
Submitted by:	bf <bf2006a@yahoo.com>
2009-01-12 11:19:20 +00:00

13 lines
741 B
C

--- ext/openssl/openssl_missing.h.orig 2009-01-11 20:16:56.000000000 -0500
+++ ext/openssl/openssl_missing.h 2009-01-11 20:17:30.000000000 -0500
@@ -120,8 +120,8 @@
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);