<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dh/dh_lib.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-05-10T05:54:39+00:00</updated>
<entry>
<title>Use err_local.h rather than err.h in most places</title>
<updated>2025-05-10T05:54:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41e8f99dd1625a9f0c80ce9d4383e95b18e85709'/>
<id>urn:sha1:41e8f99dd1625a9f0c80ce9d4383e95b18e85709</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Remove X9.42 DH rudiments</title>
<updated>2024-11-29T15:59:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-29T15:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=30b4f7f318b03413f22e3849cf9eeba83c165643'/>
<id>urn:sha1:30b4f7f318b03413f22e3849cf9eeba83c165643</id>
<content type='text'>
In the unlikely event that we should ever decide to implement this after
a quarter century of not needing it, we can readily put this back. Until
then this is dead weight.

prompted by a question by djm
ok jsing
</content>
</entry>
<entry>
<title>Use dh for DH function arguments.</title>
<updated>2024-03-27T01:26:30+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-27T01:26:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=166a6bfa8f606bc3a79bfa2d9d661cb0d4072a04'/>
<id>urn:sha1:166a6bfa8f606bc3a79bfa2d9d661cb0d4072a04</id>
<content type='text'>
No need for a variety of r, d, ...
</content>
</entry>
<entry>
<title>Unify *_up_ref() implementations</title>
<updated>2024-03-27T01:22:30+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-27T01:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=34e2ca7d2d0a0fb4722dfa5e884d5657ea45d8f8'/>
<id>urn:sha1:34e2ca7d2d0a0fb4722dfa5e884d5657ea45d8f8</id>
<content type='text'>
No need for an inconsistently named local variable and a ternary operator.

ok jsing
</content>
</entry>
<entry>
<title>Ignore ENGINE at the API boundary</title>
<updated>2023-11-29T21:35:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-29T21:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=69bbc5fea4f411f0c0033ecb0fc5126c895ea82a'/>
<id>urn:sha1:69bbc5fea4f411f0c0033ecb0fc5126c895ea82a</id>
<content type='text'>
This removes the remaining ENGINE members from various internal structs
and functions. Any ENGINE passed into a public API is now completely
ignored functions returning an ENGINE always return NULL.

ok jsing
</content>
</entry>
<entry>
<title>Unifdef OPENSSL_NO_ENGINE in libcrypto</title>
<updated>2023-11-19T15:46:10+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-19T15:46:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=593d97e74cc873d99aced677883cf55625efe62d'/>
<id>urn:sha1:593d97e74cc873d99aced677883cf55625efe62d</id>
<content type='text'>
This is mechanical apart from a few manual edits to avoid doubled empty
lines.

ok jsing
</content>
</entry>
<entry>
<title>fix whitespace</title>
<updated>2023-08-13T12:09:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-13T12:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9ed4ae0e8bb57718bff8370d5629f36660774ee7'/>
<id>urn:sha1:9ed4ae0e8bb57718bff8370d5629f36660774ee7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert {DH,DSA}_new_method() to using calloc()</title>
<updated>2023-08-12T06:14:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-08-12T06:14:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=43f9166987ef626b65b6af9f5e4b7a4179c0ecac'/>
<id>urn:sha1:43f9166987ef626b65b6af9f5e4b7a4179c0ecac</id>
<content type='text'>
Due to OPENSSL_NO_ENGINE the engine member of dh and dsa is currently
uninitialized. As a consequence, {DH,DSA}_get0_engine() will return a
garbage pointer, which is particularly bad because the only reason we
kept them in the first place is that they are used by some software...

A side effect of freeing with {DH,DSA}_free() instead of a hand-rolled
version is that we may call -&gt;meth-&gt;finish() before -&gt;meth-&gt;init() was
called. We need a NULL check for -&gt;meth to be on the safe side in case
we should need to bring ENGINE back.

with nits from djm
ok deraadt djm
</content>
</entry>
<entry>
<title>Hide symbols in dh</title>
<updated>2023-07-08T15:29:04+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T15:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c15c3edb5607f3e03c47fdea19a5828ad6d9c477'/>
<id>urn:sha1:c15c3edb5607f3e03c47fdea19a5828ad6d9c477</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Call BN_free() instead of BN_clear_free().</title>
<updated>2023-03-07T09:27:10+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-03-07T09:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=19dfe7f484e5739359ee8c102d879d125df916ad'/>
<id>urn:sha1:19dfe7f484e5739359ee8c102d879d125df916ad</id>
<content type='text'>
BN_clear_free() is a wrapper that calls BN_free() - call BN_free() directly
instead.

ok tb@
</content>
</entry>
</feed>
