version.c 442 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2014-2022 The GmSSL Project. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the License); you may
  5. * not use this file except in compliance with the License.
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. */
  9. #include <stdio.h>
  10. #include <stdlib.h>
  11. #include <string.h>
  12. #include <gmssl/version.h>
  13. int version_main(int argc, char **argv)
  14. {
  15. printf("%s\n", gmssl_version_str());
  16. return 0;
  17. }