@@ -68,7 +68,7 module Net | |||||
68 | # this can throw TypeErrors and other nasties. |
|
68 | # this can throw TypeErrors and other nasties. | |
69 | # |
|
69 | # | |
70 | def read_ber syntax=nil |
|
70 | def read_ber syntax=nil | |
71 | return nil if eof? |
|
71 | return nil if (StringIO == self.class) and eof? | |
72 |
|
72 | |||
73 | id = getc # don't trash this value, we'll use it later |
|
73 | id = getc # don't trash this value, we'll use it later | |
74 | tag = id & 31 |
|
74 | tag = id & 31 |
General Comments 0
You need to be logged in to leave comments.
Login now