venture37

SSLeay_version()

Aug 4th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. const char *
  2. SSLeay_version(int t)
  3. {
  4. switch (t) {
  5. case SSLEAY_VERSION:
  6. return OPENSSL_VERSION_TEXT;
  7. case SSLEAY_BUILT_ON:
  8. return("built on: date not available");
  9. case SSLEAY_CFLAGS:
  10. return("compiler: information not available");
  11. case SSLEAY_PLATFORM:
  12. return("platform: information not available");
  13. case SSLEAY_DIR:
  14. return "OPENSSLDIR: \"" OPENSSLDIR "\"";
  15. }
  16. return("not available");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment