Commit 27da9394 authored by Ben Laurie's avatar Ben Laurie
Browse files

Merge branch 'heartbeat-test' of git://github.com/mbland/openssl

parents eb333488 647c70f7
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@
#include <stdlib.h>
#include <string.h>

#ifndef OPENSSL_NO_HEARTBEATS

/* As per https://tools.ietf.org/html/rfc6520#section-4 */
#define MIN_PADDING_SIZE	16

@@ -453,3 +455,11 @@ int main(int argc, char *argv[])
		}
	return EXIT_SUCCESS;
	}

#else /* OPENSSL_NO_HEARTBEATS*/

int main(int argc, char *argv[])
	{
		return EXIT_SUCCESS;
	}
#endif /* OPENSSL_NO_HEARTBEATS */