strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c2aac
)
Do not check pointer, but length of a chunk
author
Martin Willi
<martin@revosec.ch>
Wed, 5 May 2010 09:30:18 +0000
(11:30 +0200)
committer
Martin Willi
<martin@revosec.ch>
Wed, 5 May 2010 09:35:54 +0000
(11:35 +0200)
src/libstrongswan/plugins/pem/pem_builder.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/plugins/pem/pem_builder.c
b/src/libstrongswan/plugins/pem/pem_builder.c
index
65be950
..
a15c3f2
100644
(file)
--- a/
src/libstrongswan/plugins/pem/pem_builder.c
+++ b/
src/libstrongswan/plugins/pem/pem_builder.c
@@
-528,7
+528,7
@@
static void *pem_load(credential_type_t type, int subtype, va_list args)
break;
}
- if (pem.
ptr
)
+ if (pem.
len
)
{
return load_from_blob(pem, type, subtype, cb, cb_data, flags);
}