projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ec/ecp_nistz256.c: harmonize with latest indent script.
[oweals/openssl.git]
/
crypto
/
buffer
/
buf_str.c
diff --git
a/crypto/buffer/buf_str.c
b/crypto/buffer/buf_str.c
index 35e4a2e7892617f879b712ade26b2f0cd058d73d..75c4ec2bd1cca4506b07206692c27d5eaf9b9aed 100644
(file)
--- a/
crypto/buffer/buf_str.c
+++ b/
crypto/buffer/buf_str.c
@@
-56,7
+56,7
@@
* [including the GNU Public Licence.]
*/
-#define OPENSSL_FIPSAPI
+
#include <stdio.h>
#include "cryptlib.h"
@@
-66,7
+66,7
@@
size_t BUF_strnlen(const char *str, size_t maxlen)
{
const char *p;
- for (p = str;
*p != '\0' && maxlen-- != 0
; ++p)
+ for (p = str;
maxlen-- != 0 && *p != '\0'
; ++p)
;
return p - str;