Blame test/versions.c

Packit c4476c
/*
Packit c4476c
 * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
 *
Packit c4476c
 * Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
 * this file except in compliance with the License.  You can obtain a copy
Packit c4476c
 * in the file LICENSE in the source distribution or at
Packit c4476c
 * https://www.openssl.org/source/license.html
Packit c4476c
 */
Packit c4476c
Packit c4476c
#include <stdio.h>
Packit c4476c
#include <openssl/opensslv.h>
Packit c4476c
#include <openssl/crypto.h>
Packit c4476c
Packit c4476c
/* A simple helper for the perl function OpenSSL::Test::openssl_versions */
Packit c4476c
int main(void)
Packit c4476c
{
Packit c4476c
    printf("Build version: 0x%08lX\n", OPENSSL_VERSION_NUMBER);
Packit c4476c
    printf("Library version: 0x%08lX\n", OpenSSL_version_num());
Packit c4476c
    return 0;
Packit c4476c
}