summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c4
-rw-r--r--src/lib/libcrypto/arch/i386/crypto_cpu_caps.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c b/src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c
index b0da0d636c..6bb77411af 100644
--- a/src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c
+++ b/src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_cpu_caps.c,v 1.2 2024/10/19 13:06:11 jsing Exp $ */ 1/* $OpenBSD: crypto_cpu_caps.c,v 1.3 2024/11/12 13:14:57 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -43,7 +43,7 @@ cpuid(uint32_t eax, uint32_t *out_eax, uint32_t *out_ebx, uint32_t *out_ecx,
43 *out_eax = eax; 43 *out_eax = eax;
44 if (out_ebx != NULL) 44 if (out_ebx != NULL)
45 *out_ebx = ebx; 45 *out_ebx = ebx;
46 if (out_ebx != NULL) 46 if (out_ecx != NULL)
47 *out_ecx = ecx; 47 *out_ecx = ecx;
48 if (out_edx != NULL) 48 if (out_edx != NULL)
49 *out_edx = edx; 49 *out_edx = edx;
diff --git a/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c b/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c
index b0da0d636c..6bb77411af 100644
--- a/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c
+++ b/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_cpu_caps.c,v 1.2 2024/10/19 13:06:11 jsing Exp $ */ 1/* $OpenBSD: crypto_cpu_caps.c,v 1.3 2024/11/12 13:14:57 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -43,7 +43,7 @@ cpuid(uint32_t eax, uint32_t *out_eax, uint32_t *out_ebx, uint32_t *out_ecx,
43 *out_eax = eax; 43 *out_eax = eax;
44 if (out_ebx != NULL) 44 if (out_ebx != NULL)
45 *out_ebx = ebx; 45 *out_ebx = ebx;
46 if (out_ebx != NULL) 46 if (out_ecx != NULL)
47 *out_ecx = ecx; 47 *out_ecx = ecx;
48 if (out_edx != NULL) 48 if (out_edx != NULL)
49 *out_edx = edx; 49 *out_edx = edx;