summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pem
diff options
context:
space:
mode:
authorkenjiro <>2026-07-31 03:59:50 +0000
committerkenjiro <>2026-07-31 03:59:50 +0000
commit49ff7c051c516a8d190b62787dc46f76275da66a (patch)
treea9311563e340cb83c56d4c2031c66386d2d03418 /src/lib/libcrypto/pem
parent45c467b8b6c3ae8944860a1e15922142d083e4d5 (diff)
downloadopenbsd-49ff7c051c516a8d190b62787dc46f76275da66a.tar.gz
openbsd-49ff7c051c516a8d190b62787dc46f76275da66a.tar.bz2
openbsd-49ff7c051c516a8d190b62787dc46f76275da66a.zip
Make file-local functions static
These functions are only used within their implementation files and do not need external linkage. Mark them static. ok tb
Diffstat (limited to 'src/lib/libcrypto/pem')
-rw-r--r--src/lib/libcrypto/pem/pem_info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/pem/pem_info.c b/src/lib/libcrypto/pem/pem_info.c
index 26061f6f08..24f0ddb011 100644
--- a/src/lib/libcrypto/pem/pem_info.c
+++ b/src/lib/libcrypto/pem/pem_info.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pem_info.c,v 1.33 2025/07/16 15:59:26 tb Exp $ */ 1/* $OpenBSD: pem_info.c,v 1.34 2026/07/31 03:59:50 kenjiro Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -77,7 +77,7 @@
77#include "err_local.h" 77#include "err_local.h"
78#include "evp_local.h" 78#include "evp_local.h"
79 79
80X509_PKEY * 80static X509_PKEY *
81X509_PKEY_new(void) 81X509_PKEY_new(void)
82{ 82{
83 X509_PKEY *x_pkey; 83 X509_PKEY *x_pkey;
@@ -90,7 +90,7 @@ X509_PKEY_new(void)
90 return x_pkey; 90 return x_pkey;
91} 91}
92 92
93void 93static void
94X509_PKEY_free(X509_PKEY *x_pkey) 94X509_PKEY_free(X509_PKEY *x_pkey)
95{ 95{
96 if (x_pkey == NULL) 96 if (x_pkey == NULL)