Skip to content
Snippets Groups Projects
Commit a282ab69 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

the size of this array can be fixed


Signed-off-by: default avatarkristof <Kristof.Szabados@ericsson.com>
parent f0971448
No related branches found
No related tags found
No related merge requests found
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
******************************************************************************/ ******************************************************************************/
#include "BerAST.hh" #include "BerAST.hh"
const char* BerAST::encode_string[] = { const char* BerAST::encode_string[2] = {
"BER_ENCODE_CER", "BER_ENCODE_CER",
"BER_ENCODE_DER" "BER_ENCODE_DER"
}; };
const char* BerAST::decode_string[] = { const char* BerAST::decode_string[5] = {
"BER_ACCEPT_SHORT", "BER_ACCEPT_SHORT",
"BER_ACCEPT_LONG", "BER_ACCEPT_LONG",
"BER_ACCEPT_INDEFINITE", "BER_ACCEPT_INDEFINITE",
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
class BerAST { class BerAST {
static const char* encode_string[]; static const char* encode_string[2];
static const char* decode_string[]; static const char* decode_string[5];
public: public:
enum ber_encode_t { enum ber_encode_t {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment