Mercurial > hg > nginx
diff src/core/ngx_crypt.c @ 4304:ed922fb9d6c1
Fixed segfault on ssl servers without cert with SNI (ticket #54).
Non-default servers may not have ssl context created if there are no
certificate defined. Make sure to check if ssl context present before
using it.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 22 Nov 2011 16:27:45 +0000 |
parents | 105841a157b9 |
children | 4c36e15651f7 |