diff options
author | Alexander Kjäll <alexander.kjaell@schibsted.com> | 2020-05-27 14:55:44 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-05-28 11:44:52 +0200 |
commit | b902ef1bbe7ab1aa0f28554340550fb5cacef73b (patch) | |
tree | 9fa6a5229f984ef737e37a34f910c09a2009a946 /openpgp-ffi/src/cert.rs | |
parent | 3cd7cc844534a156612658d3274dfdebefa4426f (diff) |
openpgp-ffi: Make pgp_cert_parser_from_bytes' buffer argument const.
Diffstat (limited to 'openpgp-ffi/src/cert.rs')
-rw-r--r-- | openpgp-ffi/src/cert.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs index b5685ca7..4cff3649 100644 --- a/openpgp-ffi/src/cert.rs +++ b/openpgp-ffi/src/cert.rs @@ -801,7 +801,7 @@ pub struct CertParserWrapper<'a> { /// concatenated together. #[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C" fn pgp_cert_parser_from_bytes(errp: Option<&mut *mut crate::error::Error>, - buf: *mut u8, len: size_t) + buf: *const u8, len: size_t) -> *mut CertParserWrapper<'static> { ffi_make_fry_from_errp!(errp); |