Missing semi colon cause following error. Wa,--noexecstack -fPIC -c -o o_str.o o_str.c o_str.c: In function 'CRYPTO_strndup': o_str.c:144:5: error: expected ';' before 'ret' ret = CRYPTO_malloc(maxlen + 1, file, line); ^ make[1]: *** [o_str.o] Error 1 make[1]: Leaving directory `/home/iida/Repo/openssl/crypto' make: *** [build_crypto] Error 1
Signed-off-by: Masanari Iida <standby2...@gmail.com> --- crypto/o_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/o_str.c b/crypto/o_str.c index b01128c..84005e6 100644 --- a/crypto/o_str.c +++ b/crypto/o_str.c @@ -139,7 +139,7 @@ char *CRYPTO_strndup(const char *str, size_t s, const char* file, int line) if (str == NULL) return NULL; - maxlen = OPENSSL_strnlen(str, s) + maxlen = OPENSSL_strnlen(str, s); ret = CRYPTO_malloc(maxlen + 1, file, line); if (ret) { -- 2.7.2.333.g70bd996 -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev