[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Re: How to Enable Weak Ciphers OpenSSL 1.1.1h installation
From:       Dmitry Belyavsky <beldmit () gmail ! com>
Date:       2020-10-26 19:37:19
Message-ID: CADqLbz+e2yG06fyG3A_jQmg4VjVwFUYzMD7uj=ZTkSQ3449kKA () mail ! gmail ! com
[Download RAW message or body]

Wow!

I was unattentive :(

The leading minus before enable-weak-ssl-ciphers was the problem. Many
thanks Satyam!

On Mon, Oct 26, 2020 at 8:41 PM Satyam Mehrotra <satyam226@gmail.com> wrote:

> I think i have resolved it . if you use the following option and then do a
> make , the openssl binary don't crash
>
> ./config -ggdb enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method
> no-shared
>
>
> What is the significance of no-shared ?  why we have to use this option
>
>
> Thanks
>
> Satyam
>
> On Mon, 26 Oct 2020 at 22:59, Dmitry Belyavsky <beldmit@gmail.com> wrote:
>
>> Many thanks!
>>
>> I could reproduce the bug.
>>
>> On Mon, Oct 26, 2020 at 8:10 PM Satyam Mehrotra <satyam226@gmail.com>
>> wrote:
>>
>>> No Worries Dmitry !!
>>> I have send the sequence in the main mail thread.
>>>
>>> Thanks
>>> Satyam
>>>
>>> On Mon, 26 Oct 2020 at 22:10, Dmitry Belyavsky <beldmit@gmail.com>
>>> wrote:
>>>
>>>> Dear Satyam,
>>>>
>>>> Sorry, but no. If you send the way to reproduce the bug, I'll take a
>>>> look at it.
>>>>
>>>> On Mon, Oct 26, 2020 at 7:38 PM Satyam Mehrotra <satyam226@gmail.com>
>>>> wrote:
>>>>
>>>>> Dear Dmitry,
>>>>>
>>>>> Is it possible to have meeting on GoToMeeting?
>>>>> I can send the invite and then i can share my screen.
>>>>> Probably, that will be faster and quick to resolve.
>>>>>
>>>>> Thanks
>>>>> Satyam
>>>>>
>>>>> On Mon, 26 Oct 2020 at 21:59, Dmitry Belyavsky <beldmit@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Dear Satyam,
>>>>>>
>>>>>> Do I correctly understand that
>>>>>> - you built openssl-1.1.1h from scratch with -enable-weak-ssl-ciphers
>>>>>> - installed it
>>>>>> -run some command? Which one(s)? Initially, you were speaking about
>>>>>> 'ciphers', but the stack trace is from the 'ca'.
>>>>>>
>>>>>> On Mon, Oct 26, 2020 at 7:26 PM Satyam Mehrotra <satyam226@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Segmentation fault is not seen if i don't compile* ./config with*
>>>>>>> *-enable-weak-ssl-ciphers.*
>>>>>>>
>>>>>>> Is it something I am missing or some more options needs to be
>>>>>>> provided to ./config ?
>>>>>>>
>>>>>>> Thanks
>>>>>>> Satyam
>>>>>>>
>>>>>>> On Mon, 26 Oct 2020 at 20:21, Dmitry Belyavsky <beldmit@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> It has nothing to do with the ciphers command...
>>>>>>>>
>>>>>>>> On Mon, Oct 26, 2020 at 5:18 PM Satyam Mehrotra <
>>>>>>>> satyam226@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Dear Dmitry,
>>>>>>>>>
>>>>>>>>> >>Are the /usr/local/lib64/libssl.so.1.1 and
>>>>>>>>> /usr/local/lib64/libcrypto.so.1.1 the same libraries that were built by you?
>>>>>>>>> Yes, they are same
>>>>>>>>>
>>>>>>>>> gdb openssl core.50178
>>>>>>>>>
>>>>>>>>> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
>>>>>>>>>
>>>>>>>>> Copyright (C) 2013 Free Software Foundation, Inc.
>>>>>>>>>
>>>>>>>>> License GPLv3+: GNU GPL version 3 or later <
>>>>>>>>> http://gnu.org/licenses/gpl.html>
>>>>>>>>>
>>>>>>>>> This is free software: you are free to change and redistribute it.
>>>>>>>>>
>>>>>>>>> There is NO WARRANTY, to the extent permitted by law.  Type "show
>>>>>>>>> copying"
>>>>>>>>>
>>>>>>>>> and "show warranty" for details.
>>>>>>>>>
>>>>>>>>> This GDB was configured as "x86_64-redhat-linux-gnu".
>>>>>>>>>
>>>>>>>>> For bug reporting instructions, please see:
>>>>>>>>>
>>>>>>>>> <http://www.gnu.org/software/gdb/bugs/>...
>>>>>>>>>
>>>>>>>>> Reading symbols from
>>>>>>>>> /home/openssl-1.1.1h/openssl-1.1.1h/apps/openssl...done.
>>>>>>>>>
>>>>>>>>> [New LWP 50178]
>>>>>>>>>
>>>>>>>>> [Thread debugging using libthread_db enabled]
>>>>>>>>>
>>>>>>>>> Using host libthread_db library "/lib64/libthread_db.so.1".
>>>>>>>>>
>>>>>>>>> Core was generated by `/usr/local/bin/openssl'.
>>>>>>>>>
>>>>>>>>> Program terminated with signal 11, Segmentation fault.
>>>>>>>>>
>>>>>>>>> #0  do_body (xret=0x7f2bc6a6dcf0, pkey=0x7ffddd58d888,
>>>>>>>>> x509=0x7f2bc6a7de80 <_dl_fini>, dgst=0x7f2bc6a8af5a, sigopts=0x0,
>>>>>>>>> policy=0xfffa320300000000, serial=0x7ffddd58f693,
>>>>>>>>>
>>>>>>>>>     subj=0x7ffddd58f6a6 "HOSTNAME=CentOS7",
>>>>>>>>> chtype=140728317048503, multirdn=-581372209, email_dn=-581372189,
>>>>>>>>> startdate=0x7ffddd58f6f3 "HISTSIZE=1000",
>>>>>>>>>
>>>>>>>>>     enddate=0x7ffddd58f701 "SSH_CLIENT=10.101.14.61 17471 22",
>>>>>>>>> days=140728317048610, batch=-581372099, verbose=-581372056,
>>>>>>>>> req=0x7ffddd58f77b,
>>>>>>>>>
>>>>>>>>>     ext_sect=0x7ffddd58f785 "LD_LIBRARY_PATH=/usr/local/lib64/",
>>>>>>>>> lconf=0x7ffddd58f7a7, certopt=140728317050463, nameopt=140728317050489,
>>>>>>>>> default_op=-581370182,
>>>>>>>>>
>>>>>>>>>     ext_copy=-581370137, selfsign=-581370120, db=<optimized out>,
>>>>>>>>> db=<optimized out>) at apps/ca.c:1410
>>>>>>>>>
>>>>>>>>> 1410         row[i] = NULL;
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> Satyam
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, 26 Oct 2020 at 19:34, Dmitry Belyavsky <beldmit@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Are the /usr/local/lib64/libssl.so.1.1 and
>>>>>>>>>> /usr/local/lib64/libcrypto.so.1.1 the same libraries that were built by you?
>>>>>>>>>> If yes, you should try running via gdb to get a backtrace.
>>>>>>>>>>
>>>>>>>>>> On Mon, Oct 26, 2020 at 4:54 PM Satyam Mehrotra <
>>>>>>>>>> satyam226@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Dear Dmitry,
>>>>>>>>>>>
>>>>>>>>>>> As suggested i have build the openssl with -ggdb  ( ./config
>>>>>>>>>>> -ggdb -enable-weak-ssl-ciphers ) and after building i did make install as
>>>>>>>>>>> well.
>>>>>>>>>>>
>>>>>>>>>>> The strace output is as below
>>>>>>>>>>> ==============================
>>>>>>>>>>>
>>>>>>>>>>> *strace ./openssl*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> execve("./openssl", ["./openssl"], 0x7ffc8151b3d0 /* 27 vars */)
>>>>>>>>>>> = 0
>>>>>>>>>>>
>>>>>>>>>>> brk(NULL)                               = 0x1b4f000
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 4096, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046813000
>>>>>>>>>>>
>>>>>>>>>>> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such
>>>>>>>>>>> file or directory)
>>>>>>>>>>>
>>>>>>>>>>> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
>>>>>>>>>>>
>>>>>>>>>>> fstat(3, {st_mode=S_IFREG|0644, st_size=35929, ...}) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 35929, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f304680a000
>>>>>>>>>>>
>>>>>>>>>>> close(3)                                = 0
>>>>>>>>>>>
>>>>>>>>>>> open("/usr/local/lib64/libssl.so.1.1", O_RDONLY|O_CLOEXEC) = 3
>>>>>>>>>>>
>>>>>>>>>>> read(3,
>>>>>>>>>>> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\24\2\0\0\0\0\0"..., 832)
>>>>>>>>>>> = 832
>>>>>>>>>>>
>>>>>>>>>>> fstat(3, {st_mode=S_IFREG|0755, st_size=742664, ...}) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 2748352, PROT_READ|PROT_EXEC,
>>>>>>>>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3046354000
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f30463e4000, 2097152, PROT_NONE) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f30465e4000, 61440, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x90000) = 0x7f30465e4000
>>>>>>>>>>>
>>>>>>>>>>> close(3)                                = 0
>>>>>>>>>>>
>>>>>>>>>>> open("/usr/local/lib64/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = 3
>>>>>>>>>>>
>>>>>>>>>>> read(3,
>>>>>>>>>>> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0p\7\0\0\0\0\0"..., 832) =
>>>>>>>>>>> 832
>>>>>>>>>>>
>>>>>>>>>>> fstat(3, {st_mode=S_IFREG|0755, st_size=3397280, ...}) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 4096, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046809000
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 5158840, PROT_READ|PROT_EXEC,
>>>>>>>>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3045e68000
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3046122000, 2097152, PROT_NONE) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3046322000, 188416, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2ba000) = 0x7f3046322000
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3046350000, 14264, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3046350000
>>>>>>>>>>>
>>>>>>>>>>> close(3)                                = 0
>>>>>>>>>>>
>>>>>>>>>>> open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
>>>>>>>>>>>
>>>>>>>>>>> read(3,
>>>>>>>>>>> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\16\0\0\0\0\0\0"..., 832) =
>>>>>>>>>>> 832
>>>>>>>>>>>
>>>>>>>>>>> fstat(3, {st_mode=S_IFREG|0755, st_size=19248, ...}) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 2109744, PROT_READ|PROT_EXEC,
>>>>>>>>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3045c64000
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3045c66000, 2097152, PROT_NONE) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3045e66000, 8192, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f3045e66000
>>>>>>>>>>>
>>>>>>>>>>> close(3)                                = 0
>>>>>>>>>>>
>>>>>>>>>>> open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
>>>>>>>>>>>
>>>>>>>>>>> read(3,
>>>>>>>>>>> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200m\0\0\0\0\0\0"..., 832)
>>>>>>>>>>> = 832
>>>>>>>>>>>
>>>>>>>>>>> fstat(3, {st_mode=S_IFREG|0755, st_size=142144, ...}) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 2208904, PROT_READ|PROT_EXEC,
>>>>>>>>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3045a48000
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3045a5f000, 2093056, PROT_NONE) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3045c5e000, 8192, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f3045c5e000
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3045c60000, 13448, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3045c60000
>>>>>>>>>>>
>>>>>>>>>>> close(3)                                = 0
>>>>>>>>>>>
>>>>>>>>>>> open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
>>>>>>>>>>>
>>>>>>>>>>> read(3,
>>>>>>>>>>> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`&\2\0\0\0\0\0"..., 832) =
>>>>>>>>>>> 832
>>>>>>>>>>>
>>>>>>>>>>> fstat(3, {st_mode=S_IFREG|0755, st_size=2156240, ...}) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 3985920, PROT_READ|PROT_EXEC,
>>>>>>>>>>> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f304567a000
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f304583d000, 2097152, PROT_NONE) = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3045a3d000, 24576, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c3000) = 0x7f3045a3d000
>>>>>>>>>>>
>>>>>>>>>>> mmap(0x7f3045a43000, 16896, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3045a43000
>>>>>>>>>>>
>>>>>>>>>>> close(3)                                = 0
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 4096, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046808000
>>>>>>>>>>>
>>>>>>>>>>> mmap(NULL, 8192, PROT_READ|PROT_WRITE,
>>>>>>>>>>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046806000
>>>>>>>>>>>
>>>>>>>>>>> arch_prctl(ARCH_SET_FS, 0x7f3046806740) = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3045a3d000, 16384, PROT_READ) = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3045c5e000, 4096, PROT_READ) = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3045e66000, 4096, PROT_READ) = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3046322000, 176128, PROT_READ) = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f30465e4000, 40960, PROT_READ) = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x692000, 4096, PROT_READ)     = 0
>>>>>>>>>>>
>>>>>>>>>>> mprotect(0x7f3046814000, 4096, PROT_READ) = 0
>>>>>>>>>>>
>>>>>>>>>>> munmap(0x7f304680a000, 35929)           = 0
>>>>>>>>>>>
>>>>>>>>>>> set_tid_address(0x7f3046806a10)         = 47865
>>>>>>>>>>>
>>>>>>>>>>> set_robust_list(0x7f3046806a20, 24)     = 0
>>>>>>>>>>>
>>>>>>>>>>> rt_sigaction(SIGRTMIN, {sa_handler=0x7f3045a4e860, sa_mask=[],
>>>>>>>>>>> sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3045a57630}, NULL, 8) = 0
>>>>>>>>>>>
>>>>>>>>>>> rt_sigaction(SIGRT_1, {sa_handler=0x7f3045a4e8f0, sa_mask=[],
>>>>>>>>>>> sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f3045a57630},
>>>>>>>>>>> NULL, 8) = 0
>>>>>>>>>>>
>>>>>>>>>>> rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
>>>>>>>>>>>
>>>>>>>>>>> getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024,
>>>>>>>>>>> rlim_max=RLIM64_INFINITY}) = 0
>>>>>>>>>>>
>>>>>>>>>>> --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL}
>>>>>>>>>>> ---
>>>>>>>>>>>
>>>>>>>>>>> +++ killed by SIGSEGV (core dumped) +++
>>>>>>>>>>>
>>>>>>>>>>> Segmentation fault
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> *Thanks*
>>>>>>>>>>>
>>>>>>>>>>> *Satyam*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, 26 Oct 2020 at 17:50, Dmitry Belyavsky <
>>>>>>>>>>> beldmit@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Dear Satyam,
>>>>>>>>>>>>
>>>>>>>>>>>> First of all, I'll suggest checking whether the
>>>>>>>>>>>> libcrypto/libssl are those you've built. It can be done, e.g., via running
>>>>>>>>>>>> strace.
>>>>>>>>>>>>
>>>>>>>>>>>> I also suggest building openssl with -ggdb (./config -ggdb
>>>>>>>>>>>> should do the trick).
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Oct 26, 2020 at 11:34 AM Satyam Mehrotra <
>>>>>>>>>>>> satyam226@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Dmitry,
>>>>>>>>>>>>>
>>>>>>>>>>>>> >>If you have just built the openssl, try to set the
>>>>>>>>>>>>> LD_LIBRARY_PATH environment variable pointing to freshly built
>>>>>>>>>>>>> libcrypto/libssl
>>>>>>>>>>>>>
>>>>>>>>>>>>> I try setting the LD_LIBRARY_PATH but it is still crashing
>>>>>>>>>>>>>
>>>>>>>>>>>>>       *which openssl*
>>>>>>>>>>>>>
>>>>>>>>>>>>> *      /usr/local/bin/openssl*
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>       *export LD_LIBRARY_PATH=/usr/local/lib64/*
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>       ls -lhrt
>>>>>>>>>>>>>
>>>>>>>>>>>>>       total 11M
>>>>>>>>>>>>>
>>>>>>>>>>>>>       drwxr-xr-x. 2 root root   61 Oct 25 16:27 pkgconfig
>>>>>>>>>>>>>
>>>>>>>>>>>>>       -rwxr-xr-x. 1 root root 3.3M Oct 26 12:58
>>>>>>>>>>>>> libcrypto.so.1.1
>>>>>>>>>>>>>
>>>>>>>>>>>>>       -rwxr-xr-x. 1 root root 726K Oct 26 12:58 libssl.so.1.1
>>>>>>>>>>>>>
>>>>>>>>>>>>>       -rw-r--r--. 1 root root 5.4M Oct 26 12:58 libcrypto.a
>>>>>>>>>>>>>
>>>>>>>>>>>>>       -rw-r--r--. 1 root root 1.1M Oct 26 12:58 libssl.a
>>>>>>>>>>>>>
>>>>>>>>>>>>>        lrwxrwxrwx. 1 root root   16 Oct 26 12:58 libcrypto.so
>>>>>>>>>>>>>  -> libcrypto.so.1.1
>>>>>>>>>>>>>
>>>>>>>>>>>>>        lrwxrwxrwx. 1 root root   13 Oct 26 12:58 libssl.so ->
>>>>>>>>>>>>> libssl.so.1.1
>>>>>>>>>>>>>
>>>>>>>>>>>>>        drwxr-xr-x. 2 root root   39 Oct 26 12:58 engines-1.1
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>        *openssl ciphers -V*
>>>>>>>>>>>>>
>>>>>>>>>>>>> *       Segmentation fault*
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> *gdb ./openssl core.3370 *
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
>>>>>>>>>>>>>
>>>>>>>>>>>>> Copyright (C) 2013 Free Software Foundation, Inc.
>>>>>>>>>>>>>
>>>>>>>>>>>>> License GPLv3+: GNU GPL version 3 or later <
>>>>>>>>>>>>> http://gnu.org/licenses/gpl.html>
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is free software: you are free to change and redistribute
>>>>>>>>>>>>> it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> There is NO WARRANTY, to the extent permitted by law.  Type
>>>>>>>>>>>>> "show copying"
>>>>>>>>>>>>>
>>>>>>>>>>>>> and "show warranty" for details.
>>>>>>>>>>>>>
>>>>>>>>>>>>> This GDB was configured as "x86_64-redhat-linux-gnu".
>>>>>>>>>>>>>
>>>>>>>>>>>>> For bug reporting instructions, please see:
>>>>>>>>>>>>>
>>>>>>>>>>>>> <http://www.gnu.org/software/gdb/bugs/>...
>>>>>>>>>>>>>
>>>>>>>>>>>>> Reading symbols from
>>>>>>>>>>>>> /home/openssl-1.1.1h/openssl-1.1.1h/apps/openssl...(no debugging symbols
>>>>>>>>>>>>> found)...done.
>>>>>>>>>>>>>
>>>>>>>>>>>>> [New LWP 3370]
>>>>>>>>>>>>>
>>>>>>>>>>>>> [Thread debugging using libthread_db enabled]
>>>>>>>>>>>>>
>>>>>>>>>>>>> Using host libthread_db library "/lib64/libthread_db.so.1".
>>>>>>>>>>>>>
>>>>>>>>>>>>> Core was generated by `openssl ciphers -V'.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Program terminated with signal 11, Segmentation fault.
>>>>>>>>>>>>>
>>>>>>>>>>>>> #0  0x000000000041c53d in do_body.isra.3 ()
>>>>>>>>>>>>>
>>>>>>>>>>>>> (gdb) bt
>>>>>>>>>>>>>
>>>>>>>>>>>>> #0  0x000000000041c53d in do_body.isra.3 ()
>>>>>>>>>>>>>
>>>>>>>>>>>>> (gdb)
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> Satyam
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, 26 Oct 2020 at 12:16, Dmitry Belyavsky <
>>>>>>>>>>>>> beldmit@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> If you have just built the openssl, try to set the
>>>>>>>>>>>>>> LD_LIBRARY_PATH environment variable pointing to freshly built
>>>>>>>>>>>>>> libcrypto/libssl
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Oct 26, 2020 at 9:33 AM Satyam Mehrotra <
>>>>>>>>>>>>>> satyam226@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Any Suggestions on how this can be done ?
>>>>>>>>>>>>>>> why openssl binary is crashing if i am compiling it with *-enable-weak-ssl-ciphers
>>>>>>>>>>>>>>> ,* also what is the location of the crash file.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>> Satyam
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, 25 Oct 2020 at 12:57, Satyam Mehrotra <
>>>>>>>>>>>>>>> satyam226@gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hello Everyone,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have just joined the openssl users community.
>>>>>>>>>>>>>>>> My requirement is to have the SSLv3 and weak ciphers
>>>>>>>>>>>>>>>> enable  with openssl installation .
>>>>>>>>>>>>>>>> I have a query regarding enabling SSLv3 protocol and weak
>>>>>>>>>>>>>>>> ciphers with openssl-1.1.1h installation
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have followed the below steps
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 1)  *./config -enable-weak-ssl-ciphers*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *2) The Makefile looks as below*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *===============================*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ## Makefile for OpenSSL
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ## WARNING: do not edit!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ## Generated by Configure from Configurations/common0.tmpl,
>>>>>>>>>>>>>>>> Configurations/unix-Makefile.tmpl, Configurations/common.tmpl
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> PLATFORM=linux-x86_64
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> OPTIONS=-enable-weak-ssl-ciphers no-asan no-buildtest-c++
>>>>>>>>>>>>>>>> no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng
>>>>>>>>>>>>>>>> no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl
>>>>>>>>>>>>>>>> no-fuzz-libfuzzer no-heartbeats no-md2 no-msan no-rc5 no-sctp no-ubsan
>>>>>>>>>>>>>>>> no-unit-test no-zlib no-zlib-dynamic
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> CONFIGURE_ARGS=("linux-x86_64", "-enable-weak-ssl-ciphers")
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SRCDIR=.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> BLDDIR=.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> VERSION=1.1.1h
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> MAJOR=1
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> MINOR=1.1
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_VERSION_NUMBER=1.1
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_VERSION_HISTORY=
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_MAJOR=1
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_MINOR=1
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_TARGET=linux-shared
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_EXT=.so.$(SHLIB_VERSION_NUMBER)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_EXT_SIMPLE=.so
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_EXT_IMPORT=
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> LIBS=apps/libapps.a libcrypto.a libssl.a test/libtestutil.a
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIBS=libcrypto$(SHLIB_EXT) libssl$(SHLIB_EXT)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> SHLIB_INFO=";"
>>>>>>>>>>>>>>>> "libcrypto$(SHLIB_EXT);libcrypto$(SHLIB_EXT_SIMPLE)"
>>>>>>>>>>>>>>>> "libssl$(SHLIB_EXT);libssl$(SHLIB_EXT_SIMPLE)" ";"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ENGINES=engines/afalg.so engines/capi.so engines/dasync.so
>>>>>>>>>>>>>>>> engines/ossltest.so engines/padlock.so
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> @
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> if i do any openssl operations it gives error ( core dumped
>>>>>>>>>>>>>>>> )
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>       *./openssl ciphers -V*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *       Segmentation fault (core dumped)*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *Can someone help me in resolving this issue ?*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> If i don't use option* "**-enable-weak-ssl-ciphers "  *then
>>>>>>>>>>>>>>>> the above issue is not seen but SSLv3 and weak ciphers do not get enable.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Satyam
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> SY, Dmitry Belyavsky
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> SY, Dmitry Belyavsky
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> SY, Dmitry Belyavsky
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> SY, Dmitry Belyavsky
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> SY, Dmitry Belyavsky
>>>>>>
>>>>>
>>>>
>>>> --
>>>> SY, Dmitry Belyavsky
>>>>
>>>
>>
>> --
>> SY, Dmitry Belyavsky
>>
>

-- 
SY, Dmitry Belyavsky

[Attachment #3 (text/html)]

<div dir="ltr">Wow!<br><br>I was unattentive :(<br><br>The leading  minus before  \
enable-weak-ssl-ciphers was the problem. Many thanks Satyam!</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 26, 2020 at 8:41 PM \
Satyam Mehrotra &lt;<a href="mailto:satyam226@gmail.com">satyam226@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I think \
i have resolved it . if you use the following option and then do a make , the openssl \
binary don&#39;t crash<div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">./config -ggdb \
enable-weak-ssl-ciphers enable-ssl3 enable-ssl3-method no-shared</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">What is the significance of \
no-shared ?   why we have to use this option</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Thanks</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Satyam</span></p></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 22:59, \
Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Many thanks!<br><br>I could \
reproduce the bug.</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Oct 26, 2020 at 8:10 PM Satyam Mehrotra &lt;<a \
href="mailto:satyam226@gmail.com" target="_blank">satyam226@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>No \
Worries Dmitry !!</div><div>I have send the sequence in the main mail \
thread.</div><div><br></div><div>Thanks</div><div>Satyam</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 22:10, \
Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Satyam,<br><br>Sorry, but no. \
If you send the way to reproduce the bug, I&#39;ll take a look at it.</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 26, 2020 at 7:38 PM \
Satyam Mehrotra &lt;<a href="mailto:satyam226@gmail.com" \
target="_blank">satyam226@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear  Dmitry,<div><br></div><div>Is \
it possible to have meeting on GoToMeeting?</div><div>I can send the invite and then \
i can share my screen.</div><div>Probably, that will be faster and quick to \
resolve.</div><div><br></div><div>Thanks</div><div>Satyam</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 21:59, \
Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Satyam,<br><br>Do I correctly \
understand that  <div>- you built openssl-1.1.1h from scratch with  \
-enable-weak-ssl-ciphers<br>- installed it</div><div>-run some command? Which one(s)? \
Initially, you were speaking about &#39;ciphers&#39;, but the stack trace is from the \
&#39;ca&#39;.</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Oct 26, 2020 at 7:26 PM Satyam Mehrotra &lt;<a \
href="mailto:satyam226@gmail.com" target="_blank">satyam226@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr">Segmentation fault is not seen if i don&#39;t compile<b> ./config with</b>  \
<span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><b>-enable-weak-ssl-ciphers.</b></span><div><span \
style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><b><br></b></span></div><div><span \
style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">Is \
it something I am missing or some more options needs to be provided to ./config \
?</span></div><div><span \
style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><br></span></div><div><span \
style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">Thanks</span></div><div><span \
style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">Satyam</span></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 20:21, \
Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">It has nothing to do with the \
ciphers command...</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Oct 26, 2020 at 5:18 PM Satyam Mehrotra &lt;<a \
href="mailto:satyam226@gmail.com" target="_blank">satyam226@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear  \
Dmitry,<div><br></div><div>&gt;&gt;Are the  /usr/local/lib64/libssl.so.1.1 and \
/usr/local/lib64/libcrypto.so.1.1 the same libraries that were built by \
you?</div><div>Yes, they are same</div><div><br></div><div>





<p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">gdb openssl \
core.50178</span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">GNU gdb (GDB) Red Hat Enterprise \
Linux 7.6.1-119.el7</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Copyright (C) 2013 Free Software \
Foundation, Inc.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">License GPLv3+: GNU GPL version 3 \
or later &lt;<a href="http://gnu.org/licenses/gpl.html" \
target="_blank">http://gnu.org/licenses/gpl.html</a>&gt;</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">This is free software: you are \
free to change and redistribute it.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">There is NO WARRANTY, to the \
extent permitted by law.<span>   </span>Type &quot;show copying&quot;</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">and &quot;show warranty&quot; for \
details.</span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">This GDB was configured as \
&quot;x86_64-redhat-linux-gnu&quot;.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">For \
bug reporting instructions, please see:</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">&lt;<a \
href="http://www.gnu.org/software/gdb/bugs/" \
target="_blank">http://www.gnu.org/software/gdb/bugs/</a>&gt;...</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Reading symbols from \
/home/openssl-1.1.1h/openssl-1.1.1h/apps/openssl...done.</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">[New LWP 50178]</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">[Thread debugging using \
libthread_db enabled]</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Using host libthread_db library \
&quot;/lib64/libthread_db.so.1&quot;.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Core \
was generated by `/usr/local/bin/openssl&#39;.</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Program terminated with signal 11, \
Segmentation fault.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">#0<span>   </span>do_body \
(xret=0x7f2bc6a6dcf0, pkey=0x7ffddd58d888, x509=0x7f2bc6a7de80 &lt;_dl_fini&gt;, \
dgst=0x7f2bc6a8af5a, sigopts=0x0, policy=0xfffa320300000000, \
serial=0x7ffddd58f693,<span>  </span></span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>      \
</span>subj=0x7ffddd58f6a6 &quot;HOSTNAME=CentOS7&quot;, chtype=140728317048503, \
multirdn=-581372209, email_dn=-581372189, startdate=0x7ffddd58f6f3 \
&quot;HISTSIZE=1000&quot;,<span>  </span></span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>      \
</span>enddate=0x7ffddd58f701 &quot;SSH_CLIENT=10.101.14.61 17471 22&quot;, \
days=140728317048610, batch=-581372099, verbose=-581372056, req=0x7ffddd58f77b,<span> \
</span></span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>      \
</span>ext_sect=0x7ffddd58f785 &quot;LD_LIBRARY_PATH=/usr/local/lib64/&quot;, \
lconf=0x7ffddd58f7a7, certopt=140728317050463, nameopt=140728317050489, \
default_op=-581370182,<span>  </span></span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>      \
</span>ext_copy=-581370137, selfsign=-581370120, db=&lt;optimized out&gt;, \
db=&lt;optimized out&gt;) at apps/ca.c:1410</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">


























</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;fo \
nt-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">1410<span \
style="white-space:pre-wrap">	</span><span>            </span>row[i] = \
NULL;</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asi \
an:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Thanks</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Satyam</span></p></div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 19:34, \
Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Are the  \
/usr/local/lib64/libssl.so.1.1 and /usr/local/lib64/libcrypto.so.1.1 the same \
libraries that were built by you?<br>If yes, you should try running via gdb to get a \
backtrace.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On \
Mon, Oct 26, 2020 at 4:54 PM Satyam Mehrotra &lt;<a href="mailto:satyam226@gmail.com" \
target="_blank">satyam226@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear  Dmitry,<div><br></div><div>As \
suggested i have build the openssl with -ggdb   (  <span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">./config \
-ggdb -enable-weak-ssl-ciphers ) and after building i did make install as \
well.</span></div><div><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div><font \
color="#000000" face="Menlo"><span \
style="font-size:11px;font-variant-ligatures:no-common-ligatures">The strace output \
is as below</span></font></div><div><font color="#000000" face="Menlo"><span \
style="font-size:11px;font-variant-ligatures:no-common-ligatures">==============================</span></font></div><div>






<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>strace \
./openssl</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b><br></b></span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">execve(&quot;./openssl&quot;, \
[&quot;./openssl&quot;], 0x7ffc8151b3d0 /* 27 vars */) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">brk(NULL) <span>                   \
</span>= 0x1b4f000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 4096, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046813000</span></p> \
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">access(&quot;/etc/ld.so.preload&quot;, \
R_OK)<span>         </span>= -1 ENOENT (No such file or directory)</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">open(&quot;/etc/ld.so.cache&quot;, \
O_RDONLY|O_CLOEXEC) = 3</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">fstat(3, {st_mode=S_IFREG|0644, \
st_size=35929, ...}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 35929, PROT_READ, \
MAP_PRIVATE, 3, 0) = 0x7f304680a000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">close(3)<span>                     \
</span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">open(&quot;/usr/local/lib64/libssl.so.1.1&quot;, \
O_RDONLY|O_CLOEXEC) = 3</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">read(3, \
&quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\0\24\2\0\0\0\0\0&quot;..., \
832) = 832</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">fstat(3, {st_mode=S_IFREG|0755, \
st_size=742664, ...}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 2748352, \
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3046354000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f30463e4000, 2097152, \
PROT_NONE) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f30465e4000, 61440, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x90000) = \
0x7f30465e4000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">close(3)<span>                     \
</span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">open(&quot;/usr/local/lib64/libcrypto.so.1.1&quot;, \
O_RDONLY|O_CLOEXEC) = 3</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">read(3, \
&quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\0p\7\0\0\0\0\0&quot;..., 832) \
= 832</span></p> <p style="margin:0px;font-variant-numeric:normal;font-variant-east-as \
ian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">fstat(3, {st_mode=S_IFREG|0755, \
st_size=3397280, ...}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 4096, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046809000</span></p> \
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 5158840, \
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3045e68000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3046122000, 2097152, \
PROT_NONE) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3046322000, 188416, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2ba000) = \
0x7f3046322000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3046350000, 14264, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = \
0x7f3046350000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">close(3)<span>                     \
</span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">open(&quot;/lib64/libdl.so.2&quot;, \
O_RDONLY|O_CLOEXEC) = 3</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">read(3, \
&quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0P\16\0\0\0\0\0\0&quot;..., \
832) = 832</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">fstat(3, {st_mode=S_IFREG|0755, \
st_size=19248, ...}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 2109744, \
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3045c64000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3045c66000, 2097152, \
PROT_NONE) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3045e66000, 8192, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = \
0x7f3045e66000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">close(3)<span>                     \
</span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">open(&quot;/lib64/libpthread.so.0&quot;, \
O_RDONLY|O_CLOEXEC) = 3</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">read(3, \
&quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\200m\0\0\0\0\0\0&quot;..., \
832) = 832</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">fstat(3, {st_mode=S_IFREG|0755, \
st_size=142144, ...}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 2208904, \
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3045a48000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3045a5f000, 2093056, \
PROT_NONE) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3045c5e000, 8192, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = \
0x7f3045c5e000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3045c60000, 13448, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = \
0x7f3045c60000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">close(3)<span>                     \
</span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">open(&quot;/lib64/libc.so.6&quot;, \
O_RDONLY|O_CLOEXEC) = 3</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">read(3, \
&quot;\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0`&amp;\2\0\0\0\0\0&quot;..., \
832) = 832</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">fstat(3, {st_mode=S_IFREG|0755, \
st_size=2156240, ...}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 3985920, \
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f304567a000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f304583d000, 2097152, \
PROT_NONE) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3045a3d000, 24576, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c3000) = \
0x7f3045a3d000</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(0x7f3045a43000, 16896, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = \
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 4096, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046808000</span></p> \
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mmap(NULL, 8192, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3046806000</span></p> \
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">arch_prctl(ARCH_SET_FS, \
0x7f3046806740) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3045a3d000, 16384, \
PROT_READ) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3045c5e000, 4096, \
PROT_READ) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3045e66000, 4096, \
PROT_READ) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3046322000, 176128, \
PROT_READ) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f30465e4000, 40960, \
PROT_READ) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x692000, 4096, \
PROT_READ) <span>      </span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">mprotect(0x7f3046814000, 4096, \
PROT_READ) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">munmap(0x7f304680a000, 35929) \
<span>               </span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">set_tid_address(0x7f3046806a10) \
<span>            </span>= 47865</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">set_robust_list(0x7f3046806a20, \
24) <span>      </span>= 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">rt_sigaction(SIGRTMIN, \
{sa_handler=0x7f3045a4e860, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, \
sa_restorer=0x7f3045a57630}, NULL, 8) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">rt_sigaction(SIGRT_1, \
{sa_handler=0x7f3045a4e8f0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, \
sa_restorer=0x7f3045a57630}, NULL, 8) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">rt_sigprocmask(SIG_UNBLOCK, [RTMIN \
RT_1], NULL, 8) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">getrlimit(RLIMIT_STACK, \
{rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">--- SIGSEGV {si_signo=SIGSEGV, \
si_code=SI_KERNEL, si_addr=NULL} ---</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">+++ killed by SIGSEGV (core \
dumped) +++</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Segmentation fault</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>Thanks</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>Satyam</b></span></p></div><div><font \
color="#000000" face="Menlo"><span \
style="font-size:11px;font-variant-ligatures:no-common-ligatures"><br></span></font></div><div><font \
color="#000000" face="Menlo"><span \
style="font-size:11px;font-variant-ligatures:no-common-ligatures"><br></span></font></div>






</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct \
2020 at 17:50, Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear \
Satyam,<div><br></div><div>First of all, I&#39;ll suggest checking whether the \
libcrypto/libssl are those you&#39;ve built. It can be done, e.g., via running \
strace.</div><div><br></div><div>I also suggest building openssl with -ggdb (./config \
-ggdb should do the trick).</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Oct 26, 2020 at 11:34 AM Satyam Mehrotra &lt;<a \
href="mailto:satyam226@gmail.com" target="_blank">satyam226@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
style="padding:20px 0px \
0px;font-size:0.875rem;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:small">Hi  \
Dmitry,</span><br></div><div \
style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div \
id="gmail-m_-8229134265274901126gmail-m_-6835262625481117507gmail-m_963738545675673140 \
gmail-m_-8058556350669920040gmail-m_5928353260931389639gmail-m_-2974798341992753242gma \
il-m_-6916643945216433672gmail-m_-1776380514832557192gmail-m_-455413778062718718gmail- \
m_552413840019639859gmail-m_-2129998165120636796gmail-m_2858897066268767114gmail-m_-922763620792387226gmail-:1x7" \
style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div \
id="gmail-m_-8229134265274901126gmail-m_-6835262625481117507gmail-m_963738545675673140 \
gmail-m_-8058556350669920040gmail-m_5928353260931389639gmail-m_-2974798341992753242gma \
il-m_-6916643945216433672gmail-m_-1776380514832557192gmail-m_-455413778062718718gmail- \
m_552413840019639859gmail-m_-2129998165120636796gmail-m_2858897066268767114gmail-m_-922763620792387226gmail-:1x6" \
style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font \
-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div \
dir="ltr"><div><br></div><div>&gt;&gt;If you have just built the openssl, try to set \
the LD_LIBRARY_PATH environment variable pointing to freshly built \
libcrypto/libssl</div><div><br></div><div>I try setting the LD_LIBRARY_PATH but it is \
still crashing</div><div><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">          <b>which \
openssl</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>         \
/usr/local/bin/openssl</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">          </span><span \
style="font-variant-ligatures:no-common-ligatures"><b>export \
LD_LIBRARY_PATH=/usr/local/lib64/</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">          </span><span \
style="font-variant-ligatures:no-common-ligatures">ls -lhrt</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">         total 11M</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">         drwxr-xr-x. 2 root root   \
61 Oct 25 16:27  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(60,95,255)">pkgconfig</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">         -rwxr-xr-x. 1 root root \
3.3M Oct 26 12:58  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(47,189,29)">libcrypto.so.1.1</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">         -rwxr-xr-x. 1 root root \
726K Oct 26 12:58  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(47,189,29)">libssl.so.1.1</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">         -rw-r--r--. 1 root root \
5.4M Oct 26 12:58 libcrypto.a</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">         -rw-r--r--. 1 root root \
1.1M Oct 26 12:58 libssl.a</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">           lrwxrwxrwx. 1 root root \
16 Oct 26 12:58  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(41,255,255)">libcrypto.so</span><span \
style="font-variant-ligatures:no-common-ligatures">  -&gt;  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(47,189,29)">libcrypto.so.1.1</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">           lrwxrwxrwx. 1 root root \
13 Oct 26 12:58  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(41,255,255)">libssl.so</span><span \
style="font-variant-ligatures:no-common-ligatures">  -&gt;  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(47,189,29)">libssl.so.1.1</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">           drwxr-xr-x. 2 root root \
39 Oct 26 12:58  </span><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(60,95,255)">engines-1.1</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(60,95,255)"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(60,95,255)"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures;color:rgb(60,95,255)">           \
</span><span style="font-variant-ligatures:no-common-ligatures"><b>openssl ciphers \
-V</b></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-as \
ian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>           Segmentation \
fault</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p \
style="margin:0px;font-style:normal;font-variant:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>gdb ./openssl core.3370<span>  \
</span></b></span></p><p \
style="margin:0px;font-style:normal;font-variant:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b><span><br></span></b></span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">GNU gdb (GDB) Red Hat Enterprise \
Linux 7.6.1-119.el7</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Copyright (C) 2013 Free Software \
Foundation, Inc.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">License GPLv3+: GNU GPL version 3 \
or later &lt;<a href="http://gnu.org/licenses/gpl.html" \
target="_blank">http://gnu.org/licenses/gpl.html</a>&gt;</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">This is free software: you are \
free to change and redistribute it.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">There is NO WARRANTY, to the \
extent permitted by law.<span>   </span>Type &quot;show copying&quot;</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">and &quot;show warranty&quot; for \
details.</span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">This GDB was configured as \
&quot;x86_64-redhat-linux-gnu&quot;.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">For \
bug reporting instructions, please see:</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">&lt;<a \
href="http://www.gnu.org/software/gdb/bugs/" \
target="_blank">http://www.gnu.org/software/gdb/bugs/</a>&gt;...</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Reading symbols from \
/home/openssl-1.1.1h/openssl-1.1.1h/apps/openssl...(no debugging symbols \
found)...done.</span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">[New LWP 3370]</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">[Thread debugging using \
libthread_db enabled]</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Using host libthread_db library \
&quot;/lib64/libthread_db.so.1&quot;.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Core \
was generated by `openssl ciphers -V&#39;.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Program terminated with signal 11, \
Segmentation fault.</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">#0<span>   \
</span>0x000000000041c53d in do_body.isra.3 ()</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">(gdb) bt</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">#0<span>   \
</span>0x000000000041c53d in do_body.isra.3 ()</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
























</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;fo \
nt-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">(gdb)<span>  </span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span><br></span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span><br></span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>Thanks</span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>Satyam</span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p></div></div></div></div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2020 at 12:16, \
Dmitry Belyavsky &lt;<a href="mailto:beldmit@gmail.com" \
target="_blank">beldmit@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">If you have just built the openssl, \
try to set the LD_LIBRARY_PATH environment variable pointing to freshly built \
libcrypto/libssl</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Oct 26, 2020 at 9:33 AM Satyam Mehrotra &lt;<a \
href="mailto:satyam226@gmail.com" target="_blank">satyam226@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr">Hello,<div><br></div><div>Any Suggestions  on how this can be done \
?</div><div>why openssl binary is crashing if i am compiling it with \
<b>-enable-weak-ssl-ciphers ,</b>  also what is the location of the crash \
file.</div><div><br></div><div>Thanks</div><div>Satyam</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 25 Oct 2020 at 12:57, \
Satyam Mehrotra &lt;<a href="mailto:satyam226@gmail.com" \
target="_blank">satyam226@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello \
Everyone,<div><br></div><div>I have just joined the openssl users community.  \
</div><div>My requirement is to have the SSLv3 and weak ciphers enable   with openssl \
installation .</div><div>I have a query regarding enabling SSLv3 protocol  and weak \
ciphers with openssl-1.1.1h installation</div><div><br></div><div>I have followed the \
below steps</div><div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">1)   <b>./config \
-enable-weak-ssl-ciphers</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>2) The Makefile looks as \
below</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>===============================</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">##</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">## Makefile for \
OpenSSL</span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">##</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">## WARNING: do not \
edit!</span></p><p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">## Generated by Configure from \
Configurations/common0.tmpl, Configurations/unix-Makefile.tmpl, \
Configurations/common.tmpl</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0);min-height:13px"><span \
style="font-variant-ligatures:no-common-ligatures"></span><br></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">PLATFORM=linux-x86_64</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">OPTIONS=-enable-weak-ssl-ciphers \
no-asan no-buildtest-c++ no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng \
no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer \
no-heartbeats no-md2 no-msan no-rc5 no-sctp no-ubsan no-unit-test no-zlib \
no-zlib-dynamic</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">CONFIGURE_ARGS=(&quot;linux-x86_64&quot;, \
&quot;-enable-weak-ssl-ciphers&quot;)</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SRCDIR=.</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">BLDDIR=.</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0);min-height:13px"><span \
style="font-variant-ligatures:no-common-ligatures"></span><br></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">VERSION=1.1.1h</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">MAJOR=1</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">MINOR=1.1</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_VERSION_NUMBER=1.1</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_VERSION_HISTORY=</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_MAJOR=1</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_MINOR=1</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_TARGET=linux-shared</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_EXT=.so.$(SHLIB_VERSION_NUMBER)</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_EXT_SIMPLE=.so</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_EXT_IMPORT=</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0);min-height:13px"><span \
style="font-variant-ligatures:no-common-ligatures"></span><br></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">LIBS=apps/libapps.a libcrypto.a \
libssl.a test/libtestutil.a</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIBS=libcrypto$(SHLIB_EXT) \
libssl$(SHLIB_EXT)</span></p><p style="margin:0px;font:11px \
Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">SHLIB_INFO=&quot;;&quot; \
&quot;libcrypto$(SHLIB_EXT);libcrypto$(SHLIB_EXT_SIMPLE)&quot; \
&quot;libssl$(SHLIB_EXT);libssl$(SHLIB_EXT_SIMPLE)&quot; &quot;;&quot;</span></p><p \
style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">ENGINES=engines/afalg.so \
engines/capi.so engines/dasync.so engines/ossltest.so engines/padlock.so</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">

































</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:no \
rmal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(74,0,255)"><span \
style="font-variant-ligatures:no-common-ligatures">@<span>                            \
</span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(74,0,255)"><span \
style="font-variant-ligatures:no-common-ligatures"><span><br></span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(74,0,255)"><span \
style="font-variant-ligatures:no-common-ligatures"><span>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br></span></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">if i do any openssl operations it \
gives error ( core dumped )</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">          </span><span \
style="font-variant-ligatures:no-common-ligatures"><b>./openssl ciphers \
-V</b></span></p>






<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-s \
tretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>           Segmentation fault \
(core dumped)</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b><br></b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b>Can someone help me in \
resolving this issue ?</b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures"><b><br></b></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">If i don&#39;t use option<b> \
&quot;</b></span><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)"><b>-enable-weak-ssl-ciphers \
&quot;    </b>then the above issue is not seen but SSLv3 and weak ciphers do not get \
enable.</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)"><br></span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)">Thanks</span></p><p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stre \
tch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)">Satyam</span></p></div></div>
 </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">SY, Dmitry \
Belyavsky</div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature">SY, Dmitry Belyavsky</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic