<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libcrypto/base64, branch libressl-v3.2.1</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.2.1</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.2.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-03-10T11:13:28+00:00</updated>
<entry>
<title>Import openssl-1.1.1d test data to base64test.c</title>
<updated>2020-03-10T11:13:28+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2020-03-10T11:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dc4395e4715e2c37c2833c554afc1d6c976ca7b9'/>
<id>urn:sha1:dc4395e4715e2c37c2833c554afc1d6c976ca7b9</id>
<content type='text'>
ok bcook@ tb@
</content>
</entry>
<entry>
<title>Modify regress base64test.c</title>
<updated>2020-03-10T11:10:53+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2020-03-10T11:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7ed0a68041f4b77e9ff2715d11944ac9ba2f16e6'/>
<id>urn:sha1:7ed0a68041f4b77e9ff2715d11944ac9ba2f16e6</id>
<content type='text'>
- Don't remove multi line CR/LF from bt-&gt;out when NL mode

  base64_encoding_test removes CR/LF from bt-&gt;out to compare with the encoding
  result. This is fine with NO NL mode, but it goes wrong with NL mode if
  encoding result is larger than 64 and multi line, like below.

  "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4\neHh4eHh4eHh4eHh4\n"

- Use memcpy instead of asprintf to avoid lost '\0' at the end of data

  This test data loses trailing '\0' if using asprintf.

  "\x61\x47\x56\x73\x62\x47\x38\x3d\x0a\x00"

- Print original data if decoding result comparison fails

  This change is not for importing test data, but I just notice.
  It prints bt-&gt;out if fail to memcmp bt-&gt;in with decoding result.

ok bcook@ tb@
</content>
</entry>
<entry>
<title>check for asprintf failing allocation</title>
<updated>2019-06-27T04:29:35+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-27T04:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a9642654a58b0b8243a6e2ab9db9f2a3513713ab'/>
<id>urn:sha1:a9642654a58b0b8243a6e2ab9db9f2a3513713ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing $OpenBSD$ markers.</title>
<updated>2018-07-17T17:06:50+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-07-17T17:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6016188a1940d280c27f96e45b21e6bc5cca1309'/>
<id>urn:sha1:6016188a1940d280c27f96e45b21e6bc5cca1309</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pull in &lt;sys/types.h&gt; to get ssize_t or &lt;stdint.h&gt; to get uint32_t, instead of</title>
<updated>2015-10-30T15:45:57+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-10-30T15:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3cbb3da64158d1286f96a7bf85e0f6d45fe7e0d4'/>
<id>urn:sha1:3cbb3da64158d1286f96a7bf85e0f6d45fe7e0d4</id>
<content type='text'>
relying upon previously included headers to do this, to enhance portability;
from Pascal Cuoq, libressl github pull request #52
</content>
</entry>
<entry>
<title>Include -DLIBRESSL_INTERNAL in regress makefiles.</title>
<updated>2014-07-08T15:53:53+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-08T15:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7afb360c691a50252631f701035b15ed0177a3c8'/>
<id>urn:sha1:7afb360c691a50252631f701035b15ed0177a3c8</id>
<content type='text'>
ok miod@
</content>
</entry>
<entry>
<title>Build these tests with WARNINGS=Yes and -Werror, and do the necessary</title>
<updated>2014-06-01T11:11:46+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-06-01T11:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=18ef1425b569ea27254911a14222de8d26e365a9'/>
<id>urn:sha1:18ef1425b569ea27254911a14222de8d26e365a9</id>
<content type='text'>
fixes to keep building.
</content>
</entry>
<entry>
<title>Fix various issues that result in compiler warnings.</title>
<updated>2014-05-16T14:41:05+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-05-16T14:41:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f39dad53268ab3895fc9a369f0b6f64a985c5b61'/>
<id>urn:sha1:f39dad53268ab3895fc9a369f0b6f64a985c5b61</id>
<content type='text'>
Prompted by a diff from Brent Cook.
</content>
</entry>
<entry>
<title>Update the base64 regress test and enable a test that would previously</title>
<updated>2014-05-03T17:00:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-05-03T17:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=98909ff383bb80bc4214fbd20caabb512afa6919'/>
<id>urn:sha1:98909ff383bb80bc4214fbd20caabb512afa6919</id>
<content type='text'>
have resulted in a segfault. Also update the resulting output bytes now
that the invalid/corrupt input is detected and rejected; unless you're
using BIO_FLAGS_BASE64_NO_NL, in which case you still get a stream of
zero value bytes and no way of knowing that the data is invalid/corrupt.
</content>
</entry>
<entry>
<title>Initial version of a base64 regress.</title>
<updated>2014-05-03T15:07:46+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-05-03T15:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=831e8312bec74083bd63683519725fe3989ae0dc'/>
<id>urn:sha1:831e8312bec74083bd63683519725fe3989ae0dc</id>
<content type='text'>
</content>
</entry>
</feed>
