mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-08-09 09:51:49 +08:00
updated to protobuf 1.5.1
Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
* Version 1.3.1 (unreleased)
|
||||
- The bundled protobuf-c was updated to 1.5.1.
|
||||
- Fixed issues with PAM authentication when combined with pam_sssd (#618)
|
||||
- Enhanced the seccomp filters to address issue in testing (#627)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008-2023, Dave Benson and the protobuf-c authors.
|
||||
* Copyright (c) 2008-2025, Dave Benson and the protobuf-c authors.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -28,14 +28,14 @@
|
||||
*/
|
||||
|
||||
/*! \file
|
||||
* Support library for `protoc-c` generated code.
|
||||
* Support library for `protoc-gen-c` generated code.
|
||||
*
|
||||
* This file implements the public API used by the code generated
|
||||
* by `protoc-c`.
|
||||
* by `protoc-gen-c`.
|
||||
*
|
||||
* \authors Dave Benson and the protobuf-c authors
|
||||
*
|
||||
* \copyright 2008-2014. Licensed under the terms of the [BSD-2-Clause] license.
|
||||
* \copyright 2008-2025. Licensed under the terms of the [BSD-2-Clause] license.
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -3278,6 +3278,8 @@ protobuf_c_message_unpack(const ProtobufCMessageDescriptor *desc,
|
||||
n_unknown * sizeof(ProtobufCMessageUnknownField));
|
||||
if (rv->unknown_fields == NULL)
|
||||
goto error_cleanup;
|
||||
} else {
|
||||
rv->unknown_fields = NULL;
|
||||
}
|
||||
|
||||
/* do real parsing */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008-2023, Dave Benson and the protobuf-c authors.
|
||||
* Copyright (c) 2008-2025, Dave Benson and the protobuf-c authors.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -34,16 +34,17 @@
|
||||
*
|
||||
* This file defines the public API for the `libprotobuf-c` support library.
|
||||
* This API includes interfaces that can be used directly by client code as well
|
||||
* as the interfaces used by the code generated by the `protoc-c` compiler.
|
||||
* as the interfaces used by the code generated by the `protoc-gen-c` compiler
|
||||
* plugin.
|
||||
*
|
||||
* The `libprotobuf-c` support library performs the actual serialization and
|
||||
* deserialization of Protocol Buffers messages. It interacts with structures,
|
||||
* definitions, and metadata generated by the `protoc-c` compiler from .proto
|
||||
* files.
|
||||
* definitions, and metadata generated by the `protoc-gen-c` compiler plugin
|
||||
* from .proto files.
|
||||
*
|
||||
* \authors Dave Benson and the `protobuf-c` authors.
|
||||
*
|
||||
* \copyright 2008-2014. Licensed under the terms of the [BSD-2-Clause] license.
|
||||
* \copyright 2008-2025. Licensed under the terms of the [BSD-2-Clause] license.
|
||||
*
|
||||
* [protobuf-c]: https://github.com/protobuf-c/protobuf-c
|
||||
* [Protocol Buffers]: https://developers.google.com/protocol-buffers/
|
||||
@@ -74,7 +75,7 @@
|
||||
*
|
||||
* - Identifiers for functions and globals are all lowercase, with camel case
|
||||
* words separated by single underscores. For example, one of the function
|
||||
* prototypes generated by `protoc-c` for the above example:
|
||||
* prototypes generated by `protoc-gen-c` for the above example:
|
||||
*
|
||||
~~~{.c}
|
||||
Foo__Bar__BazBah *
|
||||
@@ -794,16 +795,16 @@ protobuf_c_version_number(void);
|
||||
* The version of the protobuf-c headers, represented as a string using the same
|
||||
* format as protobuf_c_version().
|
||||
*/
|
||||
#define PROTOBUF_C_VERSION "1.5.0"
|
||||
#define PROTOBUF_C_VERSION "1.5.1"
|
||||
|
||||
/**
|
||||
* The version of the protobuf-c headers, represented as an integer using the
|
||||
* same format as protobuf_c_version_number().
|
||||
*/
|
||||
#define PROTOBUF_C_VERSION_NUMBER 1005000
|
||||
#define PROTOBUF_C_VERSION_NUMBER 1005001
|
||||
|
||||
/**
|
||||
* The minimum protoc-c version which works with the current version of the
|
||||
* The minimum protoc-gen-c version which works with the current version of the
|
||||
* protobuf-c headers.
|
||||
*/
|
||||
#define PROTOBUF_C_MIN_COMPILER_VERSION 1000000
|
||||
|
||||
Reference in New Issue
Block a user