Assuming you are not using your own session id generation callback
function, I guess there is something wrong with your rand function/method
which is not able to generate a unique session id in 10 attempts.

-- Debug def_generate_session_id function in ssl/ssl_sess.c
-- Debug RAND_pseudo_bytes and see if it is really generating rand bytes.
See if you have seeded the rand function or not.

Thanks,
Thulasi.

2014-09-12 12:44 GMT+05:30 yu.wang <alber...@bluectrl.com>:

>  Dear Sir,
>
>     我应用的openssl版本为:openssl1.0.1i,平台为rtems操作系统,我在使用openssl 给 http
> 网络通信过程中会出现如下错误:
>
>     error:140B512D:SSL routines:ssl_get_new_session:ssl session id
> callback failed
>
>     我不知道这是什么原因造成的,但是我同样的采用04年的openssl0.9.7d完全可以运行过去,没有错误。
>
>     期待您的解答!
>
> Thanks !
>
> Best Regards,
>          yu.wang
> Tel:  18817881895
>

Reply via email to