0

i,m trying to implement SSL client and server in C and i followed the link bellow
https://aticleworld.com/ssl-server-client-using-openssl-in-c/
the code works and i am trying to print SNI (server name indicator) in my output generated by server (the client code is changed to send SNI) and i,m having problems with the server code
i looked around and found this
How to implement Server Name Indication (SNI)
but i cant follow it (too complicated for me)
i also read the code in openssl source dist (s_server.c) but i did not understand it
is there any straightforward way to just retrieve this value without going through all the callbacks and other stuff
pls consider server.c code in the first link

M.P
  • 13
  • 1
  • 6
  • https://stackoverflow.com/help/how-to-ask – Remus Rusanu Feb 20 '18 at 08:51
  • *"but i cant follow it (too complicated for me)..."* - sorry for you, but the way shown in this answer is still the way you need to go. I'm closing it as duplicate since your lack of understanding does not mean that you ask the same thing again. – Steffen Ullrich Feb 20 '18 at 08:53

0 Answers0