made the RPM encoder static since it uses a static local buffer, and was a problem if RPM tries to encode a group object using this RPM encoder.

This commit is contained in:
skarg
2009-11-02 12:16:03 +00:00
parent 03ef870f4b
commit 55d96cdfad
+1 -1
View File
@@ -173,7 +173,7 @@ static unsigned RPM_Object_Property_Count(
/* Encode the RPM property returning the length of the encoding,
or 0 if there is no room to fit the encoding. */
int RPM_Encode_Property(
static int RPM_Encode_Property(
uint8_t * apdu,
uint16_t offset,
uint16_t max_apdu,