This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* History: | |
| * v1.0 - (Rob Stradling) Original version. | |
| * v1.1 - (Tim Hudson) Use SSL_get_ssl_method() instead of ssl3_write_bytes(). | |
| * | |
| * gcc -ansi -pedantic -o heartbleed heartbleed.c -lssl -lcrypto | |
| */ | |
| #include <stdio.h> | |
| #include "openssl/rand.h" | |
| #include "openssl/ssl.h" |