diff options
author | Doug Hogan <[email protected]> | 2019-01-05 13:41:23 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2019-01-08 01:11:59 -0800 |
commit | 30c7fa8f5a6b7874d5ab144665bb560f2c89e9a1 (patch) | |
tree | d36919f84c89a0e3df66975a68ddf8cbfe3b29c3 /lib/crypto/c_src/otp_test_engine.c | |
parent | 89d0f344ae30864a626a3af9db7953af8f38f499 (diff) | |
download | otp-30c7fa8f5a6b7874d5ab144665bb560f2c89e9a1.tar.gz otp-30c7fa8f5a6b7874d5ab144665bb560f2c89e9a1.tar.bz2 otp-30c7fa8f5a6b7874d5ab144665bb560f2c89e9a1.zip |
Revamp fake_flag so it's static
Diffstat (limited to 'lib/crypto/c_src/otp_test_engine.c')
-rw-r--r-- | lib/crypto/c_src/otp_test_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/otp_test_engine.c b/lib/crypto/c_src/otp_test_engine.c index d0d4f7741d..26a64161dc 100644 --- a/lib/crypto/c_src/otp_test_engine.c +++ b/lib/crypto/c_src/otp_test_engine.c @@ -376,7 +376,7 @@ int pem_passwd_cb_fun(char *buf, int size, int rwflag, void *password) /* RSA sign. This returns a fixed string so the test case can test that it was called instead of the cryptolib default RSA sign */ -unsigned char fake_flag[] = {255,3,124,180,35,10,180,151,101,247,62,59,80,122,220, +static unsigned char fake_flag[] = {255,3,124,180,35,10,180,151,101,247,62,59,80,122,220, 142,24,180,191,34,51,150,112,27,43,142,195,60,245,213,80,179}; int test_rsa_sign(int dtype, |